package com.zzzzzz.account;

import java.util.Date;


public class SignUpForm {
	private String email;
	private String password;
	private String name;
	private Integer status;
	
	public String getEmail() {
		return email;
	}
	public void setEmail(String email) {
		this.email = email;
	}
	public String getPassword() {
		return password;
	}
	public void setPassword(String password) {
		this.password = password;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public Integer getStatus() {
		return status;
	}
	public void setStatus(Integer status) {
		this.status = status;
	}
	
	public User toUser() {
		User user = new User();
		user.setEmail(email);
		user.setPassword(password);
		user.setName(name);
		user.setStatus(status);
		Date now = new Date();
		user.setAddTime(now);
		user.setUpdTime(now);
		return null;
	}
	
}
